package cn.bdqn.mapper;

import cn.bdqn.pojo.SysUser;
import org.junit.runner.RunWith;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;

import javax.annotation.Resource;
import java.util.List;

@RunWith(SpringJUnit4ClassRunner.class)
@SpringBootTest
public class SysUserMapperTester {
    @Resource
    SysUserMapper sysUserMapper;
    public void testSelectList(){
        List<SysUser> list=sysUserMapper.selectList(null);
        for (SysUser sysUser : list) {
            System.out.println(sysUser);
        }
    }
}
